package com.dzu.gulimall.product.feign;

import com.dzu.common.to.es.SkuEsModel;
import com.dzu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author by ZhaoDong
 * @Classname SearchFeignService
 * @Description 远程es
 * @Date 2021/6/17 21:04
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {


    @PostMapping("/search/product")
     R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
